***MALAWI Behavioral Biases Study
***MASTER DO FILE 

***KEXIN ZHANG
***November 24, 2025

***STEP 0: SETTING WORKING DIRECTORY
***To use the correct file directory, replace lines 14-15 with the appropriate file paths where the replication data file and do-files are stored, respectively.
***Make sure that the Results subfolder is created in the same folder where the replication data is stored to store the results from this analysis.

version 13
clear all

global data "INSERT FILE PATH WHERE REPLICATION DATA IS SAVED HERE"
global dofile "INSERT FILE PATH WHERE REPLICATION DO-FILES ARE SAVED HERE"
global output "$data\Results"


* TABLES IN THE MAIN TEXT (TABLE 1 - TABLE 4)
run "$dofile\DO_1_TABLE_1.do"
run "$dofile\DO_2_TABLE_2.do"
run "$dofile\DO_3_TABLE_3.do"
run "$dofile\DO_4_TABLE_4.do"

* TABLES IN APPENDIX A
run "$dofile\DO_5_TABLE_A2.do"
run "$dofile\DO_5_TABLE_A3.do"
run "$dofile\DO_5_TABLE_A4.do"
run "$dofile\DO_5_TABLE_A5.do"
run "$dofile\DO_5_TABLE_A6.do"

* TABLES IN APPENDIX D
run "$dofile\DO_6_TABLE_D1.do"

* TABLES IN APPENDIX E
run "$dofile\DO_7_TABLE_E1.do"
run "$dofile\DO_7_TABLE_E2.do"
run "$dofile\DO_7_TABLE_E3-E5.do"
run "$dofile\DO_7_TABLE_E6.do"

* TABLES IN APPENDIX F 
run "$dofile\DO_8_TABLE_F1.do"